#ifndef FLOATVALIDATOR_H
#define FLOATVALIDATOR_H

class FloatValidator: public wxTextValidator
{
public:
	FloatValidator(float *value = NULL);
	FloatValidator(const FloatValidator &val);
	~FloatValidator();

	wxValidator *Clone() const;

	bool TransferFromWindow();
	bool TransferToWindow();

private:
	float *value;
};

#endif //FLOATVALIDATOR_H
